package com.wx.myatomikos.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName DBConfig1
 * @Author wx
 * @Description 数据库配置映射类1
 * @Date 2018-12-28-21:31
 */
@Component(value = "dBConfig1")
@ConfigurationProperties(prefix="mysql.datasource.dbone")
public class DBConfig1 {
    private String url;
    private String username;
    private String type;
    private String driverClassName;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDriverClassName() {
        return driverClassName;
    }

    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }
}
